package astra.client.models;

import astra.client.services.HasId;
import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Kotelnikov Dmitry <a href="mailto:dimonnot@mail.ru"/>
 */
public class Supplier implements HasId{
    private int id;
    private String name;
    private String description;
    private String company;
    private String address;
    private String phone;
    private String fax;
    private String email;
    private String contact;

    public Supplier() {
    }

    public Supplier(int id, String name, String description, String company, String address, String phone,
                    String fax, String email, String contact) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.company = company;
        this.address = address;
        this.phone = phone;
        this.fax = fax;
        this.email = email;
        this.contact = contact;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }
}
